home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / grip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  2.7 KB  |  81 lines

  1. /*
  2. * $XConsortium: Grip.h,v 1.15 89/07/21 01:51:29 kit Exp $
  3. */
  4.  
  5.  
  6. /***********************************************************
  7. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  8. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  9.  
  10.                         All Rights Reserved
  11.  
  12. Permission to use, copy, modify, and distribute this software and its 
  13. documentation for any purpose and without fee is hereby granted, 
  14. provided that the above copyright notice appear in all copies and that
  15. both that copyright notice and this permission notice appear in 
  16. supporting documentation, and that the names of Digital or MIT not be
  17. used in advertising or publicity pertaining to distribution of the
  18. software without specific, written prior permission.  
  19.  
  20. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  21. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  22. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  23. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  24. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  25. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  26. SOFTWARE.
  27.  
  28. ******************************************************************/
  29.  
  30. /*
  31.  *  Grip.h - Public Definitions for Grip widget (used by VPane Widget)
  32.  *
  33.  */
  34.  
  35. #ifndef _XawGrip_h
  36. #define _XawGrip_h
  37.  
  38. #include <X11/Xaw/Simple.h>
  39.  
  40. /***************************************************************************
  41.  *
  42.  * Grip Widget 
  43.  *
  44.  **************************************************************************/
  45.  
  46. /* Parameters:
  47.  
  48.  Name             Class        RepType        Default Value
  49.  ----             -----        -------        -------------
  50.  foreground         Foreground        Pixel        XtDefaultForeground
  51.  border             BorderColor    Pixel        XtDefaultForeground
  52.  borderWidth         BorderWidth    Dimension    0
  53.  callback         Callback        Pointer        GripAction
  54.  cursor             Cursor        Cursor        None
  55.  destroyCallback     Callback        Pointer        NULL
  56.  height             Height        Dimension    8
  57.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  58.  sensitive         Sensitive        Boolean        True
  59.  width             Width        Dimension    8
  60.  x             Position        Position    0
  61.  y             Position        Position    0
  62.  
  63. */
  64.  
  65. #define XtNgripTranslations "gripTranslations"
  66.  
  67. typedef struct _GripCallDataRec { /* Added tag. POHC 91/04/08 */
  68.   XEvent *event;        /* the event causing the GripAction */
  69.   String *params;        /* the TranslationTable params */
  70.   Cardinal num_params;        /* count of params */
  71. } GripCallDataRec, *GripCallData;
  72.  
  73. /* Class Record Constant */
  74.  
  75. extern WidgetClass gripWidgetClass;
  76.  
  77. typedef struct _GripClassRec *GripWidgetClass;
  78. typedef struct _GripRec      *GripWidget;
  79.  
  80. #endif /* _XawGrip_h */
  81.